package com.hzj.service.impl;

import com.hzj.pojo.Dict;
import com.hzj.mapper.DictMapper;
import com.hzj.service.DictService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 组织架构表 服务实现类
 * </p>
 *
 * @author hzj
 * @since 2021-04-16
 */
@Service
public class DictServiceImpl extends ServiceImpl<DictMapper, Dict> implements DictService {
    @Autowired
    DictMapper dm;

    @Override
    public List<Dict> findChildDict(int id) {

        return dm.findChildDict(id);
    }
}
